home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 99
/
(Vol 99) Jan 19 2010.iso
/
Games
/
balls.swf
/
scripts
/
frame_5
/
PlaceObject2_20_75
/
CLIPACTIONRECORD onClipEvent(load).as
Wrap
Text File
|
2010-01-19
|
2KB
|
71 lines
onClipEvent(load){
title_text = "Submit Score";
this.rollArea.onRelease = function()
{
if(_root.name != "Name" && _root.score != 0)
{
var _loc3_ = _root.name;
while(_loc3_.charAt(0) == " ")
{
_loc3_ = _loc3_.slice(1);
}
if(_root.bonusGive == true)
{
if(bonusAdd == 3000)
{
_loc3_ = " " + _loc3_;
}
else
{
_loc3_ = " " + _loc3_;
}
_root.score += _root.bonusAdd;
_root.bonusAddr = _root.bonusAdd;
_root.bonusAdd = 0;
_root.friend_button._visible = true;
_root.friend_button._alpha = 360;
_root.friend_button.onEnterFrame = function()
{
this._alpha -= 2;
if(this._alpha < 0)
{
this._visible = false;
}
};
}
ab20_09 = new LoadVars();
ab20_09.z = _loc3_;
ab20_09.x = _root.score;
ab20_09.c = 970;
ab20_09.v = "RHUPYX";
ab20_09.sendAndLoad("http://armorbot.com/s_b",ab20_09,"POST");
ab20_09 = new LoadVars();
ab20_09.z = _loc3_;
ab20_09.x = ab20.encodeNum(_root.score);
ab20_09.c = 979;
ab20_09.v = "ERELIO";
ab20_09.sendAndLoad("http://armorbot.com/s_b",ab20_09,"POST");
_root.score = 0;
_root.scoreboard.gotoAndPlay(2);
_root.name_button.onEnterFrame = _root.score_button.onEnterFrame = this._parent.onEnterFrame = function()
{
this._alpha -= 3;
if(this._alpha < 0)
{
this._visible = false;
}
};
_root.menu_button._visible = true;
_root.menu_button.onEnterFrame = function()
{
this._alpha += 3;
if(this._alpha > 100)
{
this._alpha = 100;
delete this.onEnterFrame;
}
};
}
};
}